
AC_PREREQ([2.60])

m4_define([gpuservice_major_version], [1])
m4_define([gpuservice_minor_version], [9])
m4_define([gpuservice_micro_version], [3])

AC_INIT([gpuservice],
        [gpuservice_major_version.gpuservice_minor_version.gpuservice_micro_version],
        [http://www.samsung.com])

AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_MACRO_DIR(autotools)
AC_CONFIG_SRCDIR(gpu)
AC_CONFIG_HEADERS(config.h)

AM_INIT_AUTOMAKE([1.11 -Wall no-define  no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
AC_SUBST(ACLOCAL_AMFLAGS, "-I autotools")

AC_PROG_CC
AC_PROG_CXX
AM_PROG_CC_C_O

# C/C++ Language Features
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE

# C/C++ Headers
AC_HEADER_STDC
AC_HEADER_STDBOOL

# Linker
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

# Initialize libtool
LT_PREREQ([2.2])
LT_INIT([win32-dll])

AC_CONFIG_FILES([Makefile])

AC_OUTPUT